﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Outlier.aspx.cs" Inherits="WebAccess.Outlier" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
               
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </asp:ToolkitScriptManager>
    <asp:Accordion ID="Accordion1" runat="server">
    <Panes>


    
        <asp:AccordionPane ID="AccordionPane1" runat="server">
        
        <Header>
           Choose your Date
       
               </Header>
               <Content>
       
               <table style="width:100%;">
            <tr>
          
                <td>
                    Enter the Start: </td>
                <td>
                       
                       
           <asp:Calendar ID = "StartDate" runat= "server"></asp:Calendar>
                       </td>     

            </tr>
            <tr>
            <td>
 Enter End Date:            
            </td>
            <td>
            
            
            
                <asp:Calendar ID="Calendar2" runat="server" 
                    onselectionchanged="Calendar2_SelectionChanged1"></asp:Calendar>
            
            </td>
            </tr>
       </table>
              
              </Content>
          
         </asp:AccordionPane>


        <asp:AccordionPane ID="AccordionPane2" runat="server">
        <Header>
              Result
       </Header>
       <Content>
              <table width= "100%">
              <tr>
            
            <td>
                Confidence Interval
            
            
                <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:sensorsConnectionString %>" 
                    SelectCommand="SELECT * FROM [sensor]"></asp:SqlDataSource>
            
            
            
            </td>
            <td>
                <asp:TextBox ID="TextBox1" runat="server" Text = "0.05"></asp:TextBox>
            
            </td>
            </tr>
            <tr>
                <td>
                    Pass</td>
                <td>
                    <asp:ListBox ID="ListBox1" runat="server" DataSourceID="SqlDataSource1" 
                        DataTextField="sensor_name" DataValueField="sensor_id" Width="230px">
                    </asp:ListBox>
                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:sensorsConnectionString %>" 
                        SelectCommand="SELECT * FROM [sensor]"></asp:SqlDataSource>
                </td>
            </tr>
            <tr>
                <td>
                    Defaulters</td>
                <td>
                    <asp:ListBox ID="ListBox2" runat="server" Width="227px"></asp:ListBox>
                </td>
            </tr>
        </table>
        </Content>
        </asp:AccordionPane>
    
    </Panes>

    </asp:Accordion>
               
       
              
            
            
</asp:Content>
